<%--
  Created by IntelliJ IDEA.
  User: 19654
  Date: 2019/10/13
  Time: 21:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class='container-fluid'>
    <div class='row' id='phone'>
        <c:forEach items="${requestScope.list}" var="medicine">

            <div class='col-md-3'>
                <div class='thumbnail'>
                        <%--点击图片出现详情页--%>
                    <a href="#">
                        <img src='${medicine.medImages}' alt='通用的占位符缩略图'>
                    </a>
                    <div class='caption' style='overflow:hidden'>
                        <h3 align='center' class='text-success'>${medicine.medName}</h3>
                        <p style='text-align:center'>${medicine.medIntro}</p>
                        <p style='text-align:center'>${medicine.medPrice}</p>
                        <p style='text-align:center'>${medicine.typeName}</p>
                    </div>
                </div>
            </div>
        </c:forEach>
    </div>
</div>